Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext


~Maria Prerevernivu 6.Nov.03 10:42 AM a Web browser
Domino Designer 6.0.1 All Platforms


Hello all:
trying to open a view from another database through a button but I get an error"Incorrect data type for operator or @ function text expected"

this is the code I placed in the buttton
OrgItemCatCode:=ItemCatCode;
ViewName:="BPCSClassDesc"+@Text(EmpLocationNo);
@SetField( "ItemCat"; @PickList( [Custom] ; "" : @Command( [FileOpenDBRepID] ;"80256AE9:003A8759" ) ; ViewName ; "Available Categories" ; "Please Select Category" ; 1));
@If(
ItemCat="";@Do(@SetField("ItemCatCode";"");@SetField("ClassCode";""));
@Do(
@SetField( "ItemCatCode"; @DbLookup( "" : "NoCache" ; "": @Command( [FileOpenDBRepID] ;"80256AE9:003A8759" ) ; "BPCSClassDesc" ; ItemCat ; "ClassCode" ));
@SetField("ClassCode";ItemCatCode)
)
);
@If(
OrgItemCatCode!=ItemCatCode;
@Do(@If(Location=35;"";@SetField("ItemDesc";""));@If(Location=35;"";@SetField("UOM";""));@SetField("ItemCode";"");@If(Location=35;"";@SetField("ItemCatCodeE";"")));
""
);
@SetField( "ItemCat"; @Trim(ItemCat));
@Command([ViewRefreshFields])

can any one help me with this

thanks
Dalia






trying to open a view from another ... (~Maria Prerever... 6.Nov.03)
. . RE: trying to open a view from anot... (~Evelyn Nimresa... 6.Nov.03)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS